package com.yxw.live_vod_backend_boot.entity;



import com.baomidou.mybatisplus.annotation.TableName;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.IdType;
import java.io.Serializable;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
//import lombok.EqualsAndHashCode;



/*** 
*@author Jiaxu.Huang
*@date 2023/12/6 14:14:34
*@update 2023/12/6 14:14:34
**/
@Data
@NoArgsConstructor
@TableName("yx_video_coin")
//@EqualsAndHashCode(callSuper = true)
public class YxVideoCoinEntity   implements Serializable
{
    private static final long serialVersionUID = 61701843274344L;
    /**
    *主键id
    */
    @TableId(value = "video_coin_id",type = IdType.AUTO)
    @ApiModelProperty(value = "主键id")
    private Long Id;
    /**
    *兑换id
    */
    @TableField("exchange_rules_id")
    @ApiModelProperty(value = "兑换id")
    private Long exchangeRulesId;
    /**
    *直播费用id
    */
    @TableField("live_cost_id")
    @ApiModelProperty(value = "直播费用id")
    private Long liveCostId;
    /**
    *店铺id
    */
    @TableField("shop_id")
    @ApiModelProperty(value = "店铺id")
    private Long shopId;
    /**
    *店铺名称
    */
    @TableField("shop_name")
    @ApiModelProperty(value = "店铺名称")
    private String shopName;
    /**
    *商户id
    */
    @TableField("shopkeeper_id")
    @ApiModelProperty(value = "商户id")
    private Long shopkeeperId;
    /**
    *商户名称
    */
    @TableField("shopkeeper_name")
    @ApiModelProperty(value = "商户名称")
    private String shopkeeperName;
    /**
    *类型，0表示支出，1表示充值等等
    */
    @TableField("type")
    @ApiModelProperty(value = "类型，0表示支出，1表示充值等等")
    private Integer type;
    /**
    *明细
    */
    @TableField("detail")
    @ApiModelProperty(value = "明细")
    private String detail;
    /**
    *金额
    */
    @TableField("amount")
    @ApiModelProperty(value = "金额")
    private String amount;
    /**
    *交易单号
    */
    @TableField("transaction_num")
    @ApiModelProperty(value = "交易单号")
    private String transactionNum;
    /**
    *交易时间
    */
    @TableField("trading_time")
    @ApiModelProperty(value = "交易时间")
    private java.util.Date tradingTime;
    /**
    *状态，0表示成功，1表示失败
    */
    @TableField("status")
    @ApiModelProperty(value = "状态，0表示成功，1表示失败")
    private Integer status;
    /**
    *ip地址
    */
    @TableField("ip_address")
    @ApiModelProperty(value = "ip地址")
    private String ipAddress;
    /**
    *备注
    */
    @TableField("remark")
    @ApiModelProperty(value = "备注")
    private String remark;
}

